package com.haichang.demomybatis.entity;

import java.sql.Date;

/**
 * GSales
 */
public class GSales {
    private int gsid;
    private int gid;
    private int sid;
    private Date date;
    private int snum;


    
    public GSales() {
    }
    public GSales(int gsid, int gid, int sid, Date date, int snum) {
        this.gsid = gsid;
        this.gid = gid;
        this.sid = sid;
        this.date = date;
        this.snum = snum;
    }
    public int getGsid() {
        return gsid;
    }
    public void setGsid(int gsid) {
        this.gsid = gsid;
    }
    public int getGid() {
        return gid;
    }
    public void setGid(int gid) {
        this.gid = gid;
    }
    public int getSid() {
        return sid;
    }
    public void setSid(int sid) {
        this.sid = sid;
    }
    public Date getDate() {
        return date;
    }
    public void setDate(Date date) {
        this.date = date;
    }
    public int getSnum() {
        return snum;
    }
    public void setSnum(int snum) {
        this.snum = snum;
    }
    @Override
    public String toString() {
        return "GSales [gsid=" + gsid + ", gid=" + gid + ", sid=" + sid + ", date=" + date + ", snum=" + snum + "]";
    }

    
    
}